export default {
  namespaced: true,

  state: () => ({
    projectId: null,
    courseList: null,
    creatorId: null,
    projectName: null,
    projectType: null,
    userList: null
  }),

  mutations: {
    SET_PROJECTID: (state: any, projectId: number) => {
      state.projectId = projectId;
    },
    SET_COURSES: (state: any, courseList: []) => {
      state.courseList = courseList;
    },
    SET_CREATORID: (state: any, creatorId: number) => {
      state.creatorId = creatorId;
    },
    SET_PROJECTTYPE: (state: any, projectType: number) => {
      state.projectType = projectType;
    },
    SET_PROJECTNAME: (state: any, projectName: string) => {
      state.projectName = projectName;
    },
    SET_USERLIST: (state: any, userList: string) => {
      state.userList = userList;
    }
  },

  actions: {}
};
